package com.xxd.spring.boot.demo.hubajun.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@TableName("student")
public class StudentEntity {
    private Integer id;
    private Integer num;
    private String name;
    private String sex;
    private String address;
    @TableField(value = "classes_id")
    private Integer classId;
    @TableField(exist = false)
    private String classesNickName;
    @TableField(exist = false)
    private Integer classesCode;

}
